package net.pulseproject.router.config.instantiator.builder;

import net.pulseproject.commons.midi.entity.MidiSocket;
import net.pulseproject.router.modules.useable.MidiReceiverModule;


public class MidiReceiverModuleBuilder extends MidiModuleBuilder<MidiReceiverModule> {

	@Override
	protected final MidiReceiverModule buildModule() {
		final MidiSocket socket = new MidiSocket(this.getPort(), this.getChannel(), this.getController());
		
		return new MidiReceiverModule(this.getId(), socket);
	}

}
